package com.jungle.mvvm.sample.ui.launch;

import android.os.Bundle;

import com.gyf.immersionbar.ImmersionBar;
import com.jungle.mvvm.base.BaseActivity;
import com.jungle.mvvm.sample.BR;
import com.jungle.mvvm.sample.R;
import com.jungle.mvvm.sample.databinding.ActivityLaunchBinding;


/**
 * @ClassName LaunchActivity
 * @Description 启动页
 * @Author Daniel
 * @Version V1.0.0
 */
public class LaunchActivity extends BaseActivity<ActivityLaunchBinding, LaunchViewModel> {
    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_launch;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initParam() {
        ImmersionBar.with(this)
                .transparentStatusBar()
                .statusBarDarkFont(true)
                .transparentNavigationBar()
                .fullScreen(true)
                .init();
    }
}
